package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;
import java.util.Date;

/**
 * 外购件扩展字段表 t_fieldvalue_cgzx
 * 
 * @author ruoyi
 * @date 2019-02-22
 */
public class TFieldvalueCgzx extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键 */
	private String id;
	/** 条码内容 */
	private String barcode;
	/** 扩展字段编码 */
	private String fieldCode;
	/** 扩展字段名称 */
	private String fieldName;
	/** 扩展字段值 */
	private String fieldValue;
	/** 创建时间 */
	private Date createTime;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setBarcode(String barcode) 
	{
		this.barcode = barcode;
	}

	public String getBarcode() 
	{
		return barcode;
	}
	public void setFieldCode(String fieldCode) 
	{
		this.fieldCode = fieldCode;
	}

	public String getFieldCode() 
	{
		return fieldCode;
	}
	public void setFieldName(String fieldName) 
	{
		this.fieldName = fieldName;
	}

	public String getFieldName() 
	{
		return fieldName;
	}
	public void setFieldValue(String fieldValue) 
	{
		this.fieldValue = fieldValue;
	}

	public String getFieldValue() 
	{
		return fieldValue;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("barcode", getBarcode())
            .append("fieldCode", getFieldCode())
            .append("fieldName", getFieldName())
            .append("fieldValue", getFieldValue())
            .append("createTime", getCreateTime())
            .toString();
    }
}
